package app.system.service.impl;

import app.system.entity.SysMusicLike;
import app.system.mapper.SysMusicLikeMapper;
import app.system.service.SysMusicLikeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysMusicLikeServiceImpl implements SysMusicLikeService {
    @Autowired
    private SysMusicLikeMapper musicLikeMapper;
    @Override
    public int saveMusicLike(SysMusicLike sysMusicLike) {
        return musicLikeMapper.saveMusicLike(sysMusicLike);
    }

    @Override
    public List<SysMusicLike> selectMusicLikeByTage(SysMusicLike sysMusicLike) {
        return musicLikeMapper.selectMusicLikeByTage(sysMusicLike);
    }

    @Override
    public int updateMusicLikeByTage(SysMusicLike sysMusicLike) {
        return musicLikeMapper.updateMusicLikeByTage(sysMusicLike);
    }
}
